package com.hh.releasenode.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @ClassName SysMenuForm
 * @Description 添加菜单
 * @Author KunxianLi
 * Date 2020/6/15 15:52
 * Version 1.0
 **/
@Data
@ApiModel("添加菜单")
public class SysMenuForm {

    private Long parentId;

    @ApiModelProperty(name = "菜单名称",required = true,example = "用户管理")
    @NotBlank(message = "菜单名称不能为空")
    private String menuName;


    private String url;


    private String icon;


    private  Integer order;


}
